package com.nx.samuel.dubbo_spi.impl;

import com.nx.samuel.dubbo_spi.api.Car;
import org.apache.dubbo.common.URL;
import org.apache.dubbo.common.extension.Adaptive;

@Adaptive
public class AdaptiveCar implements Car {
    @Override
    public void getColor() {
        System.out.println("我是类自适应的方法执行");
    }

    @Override
    public void getColorForUrl(URL url) {

        System.out.println("adaptiveCar url get colore");
    }
}
